<details {{ if eq (.Get "open" | default "false") "true" }}open{{ end }}>
    <summary>
        {{ .Get "summary" | default "Details:" }}
    </summary>
    {{ .Inner | markdownify }}
</details>
